import { Component, Input, OnInit, Host, Inject, forwardRef } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { TopicInfo, RowInfo } from '../../models/quesinfo';

/**
 * Generated class for the QuestionTestSinglePage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */


@Component({
  selector: 'page-question-test-single',
  templateUrl: 'question-test-single.html',
})
export class QuestionTestSinglePage {
  @Input() topic: TopicInfo;@Input() poneSet: Array<any>;
  @Input() topicIndex;
  topicIndexshow;
  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  ngOnInit(): void {
    this.topicIndexshow=this.topicIndex+1;
  }

  ionViewDidLoad() {
    //console.log('ionViewDidLoad QuestionSinglePage');
  }

}
